﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="WorkerThreadEventArgs.cs" company="SmartPlan">
//   SmartPlan 2011
// </copyright>
// <summary>
//   The worker thread event args.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace DbDiff.WinClient.Helper
{
    using System;

    /// <summary>
    /// The worker thread event args.
    /// </summary>
    public class WorkerThreadEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="WorkerThreadEventArgs"/> class.
        /// </summary>
        /// <param name="eventStatusId">
        /// The event status id.
        /// </param>
        /// <param name="state">
        /// The state.
        /// </param>
        /// <param name="result">
        /// The result.
        /// </param>
        public WorkerThreadEventArgs(string eventStatusId, EventState state, EventResult result)
        {
            this.EventStatusId = eventStatusId;
            this.State = state;
            this.Result = result;
        }

        /// <summary>
        /// Gets EventStatusId.
        /// </summary>
        public string EventStatusId { get; private set; }

        /// <summary>
        /// Gets State.
        /// </summary>
        public EventState State { get; private set; }

        /// <summary>
        /// Gets Result.
        /// </summary>
        public EventResult Result { get; private set; }
    }
}